<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>老师端实习报告详情页</title>
		<script src="../../script/mui.min.js"></script>
		<link href="../../css/weui.min.css" rel="stylesheet"/>
		<link rel="stylesheet" type="text/css" href="../../css/mui.min.css">
		<!--<link rel="stylesheet" href="../../css/CFNetPP_Base.css">-->
		<link rel="stylesheet" type="text/css" href="../../css/base.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/attachmentCss.css">
		<script type="text/javascript" src="../../script/echarts.min.js"></script>
		<script type="text/javascript" charset="utf-8">
			mui.init();
		</script>
	</head>
	<body>
		<div class="base_style_color " id='BarAppearance' style="height: 22px;width: 100%"></div>
		<div class="base_navigation_bar base_style_color base_navigation_item_bar" style="position: fixed;left: 0px;top: 20px;">
			<a class="base_left_item" href="#" onclick="backClick()"> <img class="base_back_icon" src="../../image/icon_jiantou.png" alt=""> </a>
			<span id="page">实习报告</span>
			<a class="base_right_item base_hide_item"> </a>
		</div>
	</body>
	<div class="base_content_div">
		<div class="bgwhite padding10">
			<div id="segmentedControl" class="mui-segmented-control">
				<a class="mui-control-item mui-active" href="#item1"> 学生自评 </a>
				<a class="mui-control-item" href="#item2"> 企业评分 </a>
				<a class="mui-control-item" href="#item3"> 老师评分 </a>
			</div>
		</div>
		<div id="item1" class="mui-control-content mui-active top_10 bottom_30">
			<div class="feeling">
				<p class="title" style="margin-top: 15px" >
					结业感想
				</p>
				<div class="feeling-text">
					<p id="jygxtext" style=" word-break: break-all"></p>
				</div>
			</div>
			<div class="text_feel top_10 " hidden="hidden"  id="attachment_div">
				<div style="padding: 10px 20px;">
					<p class="title "style="margin-bottom:0;">
						附件
					</p>
					<div class="feeling-text top_5 left_15" hidden="hidden" id="nullImg">
						<p>
							无
						</p>
					</div>
				</div>
				<div id="attachmentTableView" class="weui_cells fileDownLoad_Div"></div>
			</div>
			<div class="myScore" id="dgsxm" hidden="hidden">
				<p class="title">
					给企业师傅的评分
				</p>
				<div class="myScore-starscore clearfix">
					<div class="letter left">
						工作技能指导：
					</div>
					<div class="star left" id="taiduNum">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						业务能力：
					</div>
					<div class="star left" id="chuqinNum">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						心理辅导：
					</div>
					<div class="star left" id="workendNum">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						职业素养培养：
					</div>
					<div class="star left" id="jinengNum">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
			</div>
			<div class="yesorno">
				<p class="title">
					是否愿意就业到当前实习单位？
				</p>
				<div class="mui-input-row mui-radio yesorno-radio">
					<input  id ='rd1'name="radio1" type="radio"  value='1' >
					<label>是</label>
				</div>
				<div class="mui-input-row mui-radio yesorno-radio" >
					<input id ='rd0' name="radio1" type="radio" value='0'>
					<label>否</label>
				</div>
			</div>
		</div>
		<div id="item2" class="mui-control-content top_10 bottom_30">
			<div class="feeling">
				<p class="title">
					企业师傅评语
				</p>
				<div class="feeling-text">
					<p id="qypytext" class="sy"></p>
				</div>
			</div>
			<!-- 跟岗实习-->
			<div class="myScore"  id="ggsxqy" hidden="hidden">
				<p class="title">
					企业评分
				</p>
				<div class="myScore-starscore clearfix">
					<div class="letter left">
						工作能力：
					</div>
					<div class="star left" id="taiduNum22">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						工作态度：
					</div>
					<div class="star left" id="chuqinNum22">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						职业素养：
					</div>
					<div class="star left" id="workendNum22">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						沟通能力：
					</div>
					<div class="star left" id="jinengNum22">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
			</div>
			<!-- 顶岗实习-->
			<div class="myScore"  id="dgsxqy" hidden="hidden">
				<p class="title">
					企业评分
				</p>
				<div class="myScore-starscore clearfix">
					<div class="letter left">
						工作业绩：
					</div>
					<div class="star left" id="taiduNum2">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						工作能力：
					</div>
					<div class="star left" id="chuqinNum2">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						工作态度：
					</div>
					<div class="star left" id="workendNum2">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						职业素养：
					</div>
					<div class="star left" id="jinengNum2">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
			</div>
		</div>
		<div id="item3" class="mui-control-content top_10 bottom_30">
			<div class="feeling">
				<p class="title">
					老师评语
				</p>
				<div class="feeling-text">
					<p id="lspytext" class="sy"></p>
				</div>
			</div>
			<div class="myScore"  id="ggsxls" hidden="hidden">
				<p class="title">
					老师评分
				</p>
				<div class="myScore-starscore clearfix">
					<div class="letter left">
						学习能力：
					</div>
					<div class="star left" id="taiduNum12">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						工作能力：
					</div>
					<div class="star left" id="chuqinNum12">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						工作态度：
					</div>
					<div class="star left" id="workendNum12">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						职业素养：
					</div>
					<div class="star left" id="jinengNum12">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
			</div>
			<div class="myScore" id="dgsxls" hidden="hidden">
				<p class="title">
					老师评分
				</p>
				<div class="myScore-starscore clearfix">
					<div class="letter left">
						工作表现：
					</div>
					<div class="star left" id="taiduNum1">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						学习能力：
					</div>
					<div class="star left" id="chuqinNum1">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						工作态度：
					</div>
					<div class="star left" id="workendNum1">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
				<div class="myScore-starscore clearfix top">
					<div class="letter left">
						安全意识：
					</div>
					<div class="star left" id="jinengNum1">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png">
						<img src="../../image/icon_xingxing01.png" hidden="hidden">
					</div>
				</div>
			</div>
		</div>
		<!--   <a id="bt_pf" href="javascript:;" class="buttonBtn">我要评分</a>-->
		</body> <script src="../../script/jquery.min.js" type="text/javascript"></script>
		<script type="text/javascript" src="../../script/api.js"></script>
		<script type="text/javascript" src="../../script/MD5.js"></script>
		<script type="text/javascript" src="../../script/requestTool.js"></script>
		<script type="text/javascript" src="../../script/databaseOperation.js"></script>
		<script src="../../script/attachmentManager.js"></script>
		<script type="text/javascript" src="../../script/base64.min.js"></script>
		<script type="text/javascript" src="../../script/common.js"></script>
		<script type="text/javascript" src="../../script/copyTool.js"></script>
		<script type="text/javascript">
			var reportParam;
			var name = '';
			DBReady = function() {
				SendBehaviorTrajectoriesNotifi1('0', '老师端实习报告列表详情', '111', api.pageParam.sourceurl, api.pageParam.sourcetitle, window.location.pathname, document.title);
				reportParam = api.pageParam;
				var repid = reportParam.repid;
				name = reportParam.rename1;
				var sxtypes = reportParam.sxtypes;
				//0：顶岗，1：认知，2:跟岗
				if (sxtypes == 0) {
					$('#dgsxqy').show();
					$('#dgsxm').show();
					$('#dgsxls').show();
					//跟岗实习
				} else if (sxtypes == 2) {
					$('#ggsxqy').show();
					$('#ggsxls').show();
				} else {
				}
				setupDownloadAttNotifi();
				loadData(repid);
				blockAddCopyClickWithIdArr(["jygxtext","qypytext","lspytext"]);
			};
			function loadData(repid) {
				var param = {
					id : repid,
					jid : $api.getStorage('cfnetppjid')
				};
				cfnetppPOST(urlReport, param, true, function(data, status) {
					//								alert('获取数据' + JSON.stringify(data));
					
					if (status == 'success') {
						if (data.status == 1) {
							var list = data.json;
							var xszpArr = list.xszp;
							var lspjArr = list.lspj;
							var qypfArr = list.qypf;
							var urldata = xszpArr.urldata;
							if (urldata != null && urldata != '') {
								$('#attachment_div').show();
							}
							var arr = new Array();
							for (var i = 0; i < urldata.length; i++) {
								var monthData = urldata[i];
								var data = {
									id : monthData.id,
									url : monthData.enclosureurl,
									size : monthData.enclosuresize,
									name : monthData.enclosurename,
								};
								arr.push(data);
							}
							saveAttDatasToDb(arr, '');
							$('#page').text(name + "的实习报告");
							//  学生自评
							var comments = xszpArr.comments;
							var sfyyjy = xszpArr.sfyyjy;
							var sxtd = parseInt(xszpArr.sxtd) / 5;
							var cql = parseInt(xszpArr.cql) / 5;
							var gzwcd = parseInt(xszpArr.gzwcd) / 5;
							var jnzwd = parseInt(xszpArr.jnzwd) / 5;
							if (Base64.decode(comments) == null) {
								$('#jygxtext').text("暂无评价,请耐心等候");
							} else {
								$('#jygxtext').text(Base64.decode(comments));
							}
							if (sfyyjy == 1) {
								$("input[value='1']").attr("checked", "true")
								$('#rd0').attr("disabled", "false")
							} else {
								$("input[value='0']").attr("checked", "true")
								$('#rd1').attr("disabled", "false")
							}
							//  教师评分
							var tcomment = lspjArr.tcomment;
							var tsxtd = parseInt(lspjArr.tsxtd) / 5;
							var tcql = parseInt(lspjArr.tcql) / 5;
							var tgzwcd = parseInt(lspjArr.tgzwcd) / 5;
							var tjnzwd = parseInt(lspjArr.tjnzwd) / 5;
							if (Base64.decode(tcomment) == null) {
								$('#lspytext').text("暂无评价,请耐心等候");
							} else {
								$('#lspytext').text(Base64.decode(tcomment));
							}
							/*
							 //  企业评分
							 //
							 */
							var qcomment = qypfArr.qcomment;
							var qsxtd = parseInt(qypfArr.qsxtd) / 5;
							var qcql = parseInt(qypfArr.qcql) / 5;
							var qgzwcd = parseInt(qypfArr.qgzwcd) / 5;
							var qjnzwd = parseInt(qypfArr.qjnzwd) / 5;
							if (Base64.decode(qcomment) == null) {
								$('#qypytext').text("暂无评价,请耐心等候");
							} else {
								$('#qypytext').text(Base64.decode(qcomment));
							}
							$("#taiduNum img").eq(sxtd).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#chuqinNum img").eq(cql).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#workendNum img").eq(gzwcd).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#jinengNum img").eq(jnzwd).prevAll().attr("src", "../../image/icon_xingxing.png")
							//老师评分（顶岗）
							$("#taiduNum1 img").eq(tsxtd).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#chuqinNum1 img").eq(tcql).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#workendNum1 img").eq(tgzwcd).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#jinengNum1 img").eq(tjnzwd).prevAll().attr("src", "../../image/icon_xingxing.png")
							//老师评分(跟岗)
							$("#taiduNum12 img").eq(tsxtd).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#chuqinNum12 img").eq(tcql).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#workendNum12 img").eq(tgzwcd).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#jinengNum12 img").eq(tjnzwd).prevAll().attr("src", "../../image/icon_xingxing.png")
							//企业评分(跟岗)
							$("#taiduNum22 img").eq(qsxtd).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#chuqinNum22 img").eq(qcql).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#workendNum22 img").eq(qjnzwd).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#jinengNum22 img").eq(qgzwcd).prevAll().attr("src", "../../image/icon_xingxing.png")
							//企业评分（顶岗）
							$("#taiduNum2 img").eq(qsxtd).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#chuqinNum2 img").eq(qcql).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#workendNum2 img").eq(qjnzwd).prevAll().attr("src", "../../image/icon_xingxing.png")
							$("#jinengNum2 img").eq(qgzwcd).prevAll().attr("src", "../../image/icon_xingxing.png")
						} else {
						}
					} else {
						api.toast({
							msg : '请检查网络',
							duration : 2000,
							location : 'bottom'
						});
					}
				});
			}

			function backClick() {
				SendBehaviorTrajectoriesNotifi1('1', '老师端实习报告列表详情', '111', api.pageParam.sourceurl, api.pageParam.sourcetitle, window.location.pathname, document.title);
				api.closeWin();
			}
		</script>
		</script>
</html>
